package com.ccrfid.rmc6.lbservice3.pojo.locate;

import com.ccrfid.rmc6.lbservice3.pojo.msg.MsgLocate;

public class PersonnelLocateInfo {
    private Long personnelId;
    private String personnelName;
    private Integer personnelType;
    private MsgLocate msgLocate;

    public PersonnelLocateInfo(Long personnelId, MsgLocate msgLocate) {
        this.personnelId = personnelId;
        this.msgLocate = msgLocate;
    }

    public PersonnelLocateInfo(Long personnelId, String personnelName, Integer personnelType, MsgLocate msgLocate) {
        this.personnelId = personnelId;
        this.personnelName = personnelName;
        this.personnelType = personnelType;
        this.msgLocate = msgLocate;
    }

    public Long getPersonnelId() {
        return personnelId;
    }

    public void setPersonnelId(Long personnelId) {
        this.personnelId = personnelId;
    }

    public String getPersonnelName() {
        return personnelName;
    }

    public void setPersonnelName(String personnelName) {
        this.personnelName = personnelName;
    }

    public Integer getPersonnelType() {
        return personnelType;
    }

    public void setPersonnelType(Integer personnelType) {
        this.personnelType = personnelType;
    }

    public MsgLocate getMsgLocate() {
        return msgLocate;
    }

    public void setMsgLocate(MsgLocate msgLocate) {
        this.msgLocate = msgLocate;
    }

    @Override
    public String toString() {
        return "PersonnelLocateInfo{" +
                "personnelId=" + personnelId +
                ", personnelName='" + personnelName + '\'' +
                ", personnelType=" + personnelType +
                ", msgLocate=" + msgLocate +
                '}';
    }
}
